//
//  QXSplashAdView.h
//  iAccountBook
//
//  Created by 侯伟 on 2021/9/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class QXSplashAdView;
@protocol QXSplashAdDelegate <NSObject>

@optional

- (void)QXSplashAdDidLoaded:(QXSplashAdView *)splashAdView;

- (void)QXSplashAdLoadFaild:(QXSplashAdView *)splashAdView;

- (void)QXSplashAdDidDisplay:(QXSplashAdView *)splashAdView;

- (void)QXSplashAdDidClosed:(QXSplashAdView *)splashAdView;

- (void)QXSplashAdDidClick:(QXSplashAdView *)splashAdView;

@end

@class QXAdvert;

@interface QXSplashAdView : UIView

@property (nonatomic,weak)id<QXSplashAdDelegate> delegate;

- (void)loadAdData;

//@property (nonatomic,strong)QXAdvert* advert;

@end

NS_ASSUME_NONNULL_END
